var Action = {
	url:'',
	param:'',
	dataType: '',
	callback:'',
	setUrl:function(url){
		this.url = url;
		return this;
	},
	setParam:function(param){
		this.param = param;
		return this;
	},
	setDataType:function(dataType){
		this.dataType = dataType;
		return this;
	},
	setCallback:function(callback){
		this.callback = callback;
		return this;
	},
	postar:function(){
		if( this.url == '' || this.dataType == '' )
		{
			jAlert('Falta dados obrigatorios');
			return;
		}
		$.post(Config.baseUrl+this.url,this.param,function(response){ Action.callback(response);},this.typePost);
	}	
};